import java.util.Date;
import java.util.Scanner;

public class Xunhuan{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (true) {
            System.out.println(new Date() + ": 循环操作中~~按 n 退出循环");
            String input = scanner.nextLine();
            if ("n".equals(input)) {
                break;
            } else {
                System.out.println(input);
            }
        }
    }
}